package com.bytezero.account;

/**
 * 
 * @Description 
 * @author  Bytezero·zhenglei!      Email:420498246@qq.com
 * @version
 * @date 2021年9月15日下午9:55:22
 * @  小测试
 *
 */
public class CustomerTest
{
	public static void main(String[] args) 
	{
		Customer cust = new Customer("Jane","Smith");
		
		Account acct = new Account(1000, 2000, 0.0123);
		
		cust.setAccount(acct);
		
		cust.getAccount().dsposit(100);
		cust.getAccount().withdraw(960);
		cust.getAccount().withdraw(2000);
		
		System.out.println("客户叫："+cust.getFirstName()+cust.getLaseName());
		System.out.println("客户的id："+cust.getAccount().getId());
		
	}
}
